package fr.generali.poc.statemachine.model;

import fr.generali.poc.statemachine.states.StateAbstract;

public class TransitionModel {
	public TransitionModel(StateAbstract state, String transitionName) {
		super();
		this.state = state;
		this.transitionName = transitionName;
	}

	public StateAbstract getState() {
		return state;
	}

	public void setState(StateAbstract state) {
		this.state = state;
	}

	public String getTransitionName() {
		return transitionName;
	}

	public void setTransitionName(String transitionName) {
		this.transitionName = transitionName;
	}

	private StateAbstract state;
	private String transitionName;

	@Override
	public String toString() {
		return "TransitionModel [state=" + state + ", transitionName="
				+ transitionName + "]";
	}
}
